{"version":3,"file":"form_init.map.js","names":["BX","namespace","Landing","EmbedForms","this","forms","formsData","prototype","add","formNode","push","EmbedFormEntry","remove","formToRemove","getFormByNode","unload","filter","form","reload","result","forEach","getNode","node","formObject","init","ATTR_FORM_ID","ATTR_FORM_ID_STR","ATTR_USE_STYLE","ATTR_USE_STYLE_STR","ATTR_DESIGN","ATTR_IS_CONNECTOR","FORM_ID_MATCHER","PRIMARY_OPACITY_MATCHER","formParams","dataset","showNoFormsMessage","split","length","useStyle","designAttr","design","JSON","parse","replaceAll","getMode","idMarker","match","loadParamsById","then","load","bind","catch","id","sec","url","formId","Backend","getInstance","action","Object","keys","ID","SECURITY_CODE","URL","Promise","reject","error","message","desc","innerHTML","createErrorMessage","onCustomEvent","title","undefined","alertHtml","success","script","loadScript","b24form","App","getId","setFormObject","object","cacheTime","cacheVal","Date","now","document","createElement","setAttribute","innerText","appendChild","onFormLoad","adjust","getParams","params","shadow","font","primaryColor","getComputedStyle","documentElement","getPropertyValue","trim","property","color","hasOwnProperty","replace","background","popupBackground","slice","assign","embedForms","window","addEventListener","event","detail","data","editMode","parentElement","addCustomEvent","block","querySelector","makeRelativeSelector"],"sources":["form_init.js"],"mappings":"CAAC,WAEA,aAEAA,GAAGC,UAAU,cACbD,GAAGE,QAAQC,WAAa,WAKvBC,KAAKC,MAAQ,EACd,EAEAL,GAAGE,QAAQC,WAAWG,UAAY,CAAC,EAEnCN,GAAGE,QAAQC,WAAWI,UAAY,CACjCC,IAAK,SAAUC,GAEdL,KAAKC,MAAMK,KACV,IAAIV,GAAGE,QAAQS,eAAeF,GAEhC,EAEAG,OAAQ,SAAUH,GAEjB,MAAMI,EAAeT,KAAKU,cAAcL,GACxC,GAAII,EACJ,CACCA,EAAaE,SAEbX,KAAKC,MAAQD,KAAKC,MAAMW,QAAO,SAAUC,GAExC,OAAOA,IAASJ,CACjB,GACD,CACD,EAEAK,OAAQ,SAAUT,GAEjBL,KAAKQ,OAAOH,GACZL,KAAKI,IAAIC,EACV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